package com.ht.module.bus.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ht.config.dataAuth.DataScope;
import com.ht.module.bus.entity.TStudent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ht.util.Pager;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hejialun
 * @since 2024-07-29
 */
public interface TStudentMapper extends BaseMapper<TStudent> {

    Pager<TStudent> findPageAuth(Pager<TStudent> pager, @Param(Constants.WRAPPER) QueryWrapper<TStudent> qw, DataScope dataScope);

    List<TStudent> findListAuth(@Param(Constants.WRAPPER) QueryWrapper<TStudent> delFlag, DataScope dataScope);
}
